/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.ipo.mm.web.util;

/**
 *
 * @author makcro
 */
public class ConstantManager {
    //session parameter names

    public static final String SESSION_USER_PARAM_NAME = "USER";
    public static final String SESSION_BREADCRUMB_PARAM_NAME = "BREADCRUMB";
    public static final String SESSION_REPRESENTATIVE_FOR_UPDATE_PN = "REPRESENTATIVE_UPDATE";
    public static final String SESSION_MEETING_PROCESS_AN = "MEETING_PROCESS";
    public static final String SESSION_USER_PRIVILEGES = "USER_PRIVILEGES";
    public static final String SESSION_MEETING_PAGER = "MEETIN_PAGER";
    public static final String SESSION_INST_PAGER = "INST_PAGER";
    public static final String SESSION_REP_PAGER = "REP_PAGER";
    public static final String SESSION_LOG_PAGER = "LOG_PAGER";
    public static final String SESSION_ACTIONS_PAGER = "ACTIONS_PAGER";
    public static final String SESSION_INST_RESET_FORM = "SESSION_INST_RESET_FORM";
    public static final String SESSION_REPR_RESET_FORM = "SESSION_REPR_RESET_FORM";
    public static final String SESSION_MEETING_RESET_FORM = "SESSION_MEETING_RESET_FORM";
    public static final String SESSION_ACTIONS_PROCESS = "ACTIONS_PROCESS";
    public static final String SESSION_LOCK_MEETING = "SESSION_RESET_MEETING_IN_SESSION";

    public static final String REQUEST_EXCEPTION_STACKTRACE = "IPO_REQUEST_EXCEPTION_STACKTRACE";
    public static final String REQUEST_REPRESENTATIVES_SIMILARS = "REPRESENTATIVES_SIMILARS";
    public static final String SESSION_REPRESENTATIVES = "REPRESENTATIVES";
    public static final String REQUEST_BULK_EMAIL_ADDRESSES = "BULK_EMAIL_ADDRESSES";
    public static final String REQUEST_ENVELOPES_SELECTED_REPRESENTATIVES = "ENVELOPES_SELECTED_REPRESENTATIVES";
    
    public static final String REQUEST_TYPE_LAST_CREATED = "TYPE_LAST_CREATED";
    public static final String REQUEST_FAMILY_LAST_CREATED = "FAMILY_LAST_CREATED";
    public static final String REQUEST_REGION_LAST_CREATED = "REGION_LAST_CREATED";
    public static final String REQUEST_CITY_LAST_CREATED = "CITY_LAST_CREATED";
    public static final String REQUEST_INSTITUTION_LAST_CREATED = "INSTITUTION_LAST_CREATED";
    public static final String REQUEST_REPRESENTATIVE_LAST_CREATED = "REPRESENTATIVE_LAST_CREATED";


    //app context parameter names
    public static final String APPCONTEXT_USER_TYPE_ADMIN_PA = "USER_TYPE_ADMIN_PA";
    public static final String APPCONTEXT_USER_TYPE_NORMAL_PA = "USER_TYPE_NORMAL_PA";
    public static final String APPCONTEXT_USER_TYPE_GUEST_PA = "USER_TYPE_GUEST_PA";
    //page navigation names
    public static final String NAVIGATION_MAINPAGE = "main";
    public static final String NAVIGATION_LOGIN_SUCCESSFULL = "login successfull";
    public static final String NAVIGATION_CITY_FORM = "city";
    public static final String NAVIGATION_CITY_LIST = "city list";
    public static final String NAVIGATION_INSTITUTION_FORM = "institution";
    public static final String NAVIGATION_INSTITUTION_LIST = "institutionList";
    public static final String NAVIGATION_TYPE_FORM = "type";
    public static final String NAVIGATION_TYPE_LIST = "type list";
    public static final String NAVIGATION_REGION_FORM = "region";
    public static final String NAVIGATION_REGION_LIST = "region list";
    public static final String NAVIGATION_FAMILY_FORM = "family";
    public static final String NAVIGATION_FAMILY_LIST = "family list";
    public static final String NAVIGATION_USER_FORM = "user";
    public static final String NAVIGATION_USER_LIST = "user list";
    public static final String NAVIGATION_REPRESENTATIVE_FORM = "representative";
    public static final String NAVIGATION_REPRESENTATIVE_LIST = "representativeList";
    public static final String NAVIGATION_MEETING_FORM = "meeting";
    public static final String NAVIGATION_MEETING_LIST = "meetingList";
    public static final String NAVIGATION_QUICKSEARCH = "quicksearch";
    public static final String NAVIGATION_LOGIN = "login";
    public static final String NAVIGATION_ERROR = "error";
    public static final String NAVIGATION_LOG_LIST = "log list";
    public static final String NAVIGATION_ACTIONS_LIST = "actionsList";
    public static final String NAVIGATION_SEND_BULK_MAIL_LIST = "representativeMailList";    
    public static final String NAVIGATION_SEND_BULK_MAIL_LINKS = "representativeMailLinks";
    public static final String NAVIGATION_PRINT_BULK_MAIL_LIST = "representativePostMailList";

    public static final String NAVIGATION_PRINT_BULK_MAIL_LIST_INST = "institutionPostMailList";
 //
    public static final String NAVIGATION_SEND_BULK_MAIL_LIST_INST = "institutionMailList";
   //
    public static final String NAVIGATION_SEND_BULK_MAIL_LINKS_INST = "institutionMailLinks";

    public static final String NAVIGATION_PRINT_BULK_MAIL_SERVLET = "representativePostMailServlet";

    public static final String NAVIGATION_PRINT_BULK_MAIL_INST_SERVLET = "institutionPostMailServlet";

    public static final String NAVIGATION_ACTIONS_LIST_RELOAD = "actionsList_reload";
    public static final String NAVIGATION_ACTIONS_FORM = "actions";
    public static final String NAVIGATION_CLOSE_WINDOW = "closeWindow";
    public static final String NAVIGATION_REPORT_MENU = "report menu";


    //bread crumb id's
    public static final String BC_INST_CREATE = "Create new institution";
    public static final String BC_CITY_CREATE = "Create new city";
    public static final String BC_INST_LIST = "Institution list";
    public static final String BC_INST_UPDATE = "Update institution";
    public static final String BC_REPR_CREATE = "Create new representative";
    public static final String BC_REPR_LIST = "Representative list";
    public static final String BC_REPR_UPDATE = "Update representative";
    public static final String BC_MEETING_CREATE = "Create meeting";
    public static final String BC_MEETING_LIST = "Meeting list";
    public static final String BC_MEETING_UPDATE = "Update meeting";
    public static final String BC_ACTOINS_LIST = "Actions list";
    public static final String BC_ACTOINS_UPDATE = "Update action";
    public static final String BC_SEND_BULK_MAIL="Send bulk mail";
    public static final String BC_PRINT_BULK_POST_MAIL="Print bulk post mail";
    public static final String ENCODING_UTF8 = "UTF-8";
    public static final String ENCODING_ISO88592 = "ISO-8859-2";
    public static final String ENCODING_ISO88591 = "ISO-8859-1";

    public static final String REGION_NAME = "Region";
    public static final String FAMILY_NAME = "Family";
    public static final String TYPE_NAME = "Type";
    public static final String INSTITUTION_NAME = "Institution";
    public static final String MEETING_NAME = "Meeting";
    public static final String REPRESENTATIVE_NAME = "Representative";
    public static final String CITY_NAME = "City";
    public static final String USER_NAME = "User";


    public static final String ACTION_STATUS_FINISHED = "FINISHED";
    public static final String ACTION_STATUS_PENDING = "PENDING";

    public static final String OPERATION_TYPE_CREATE = "operation_create";
    public static final String OPERATION_TYPE_UPDATE = "operation_update";
    public static final String OPERATION_TYPE_DELETE = "operation_delete";


    public static String CITY_ENTITY_NAME_RES_KEY = "entity_city_name";
    public static String TYPE_ENTITY_NAME_RES_KEY = "entity_type_name";
    public static String REGION_ENTITY_NAME_RES_KEY = "entity_region_name";
    public static String FAMILY_ENTITY_NAME_RES_KEY = "entity_family_name";
    public static String INSTITUTION_ENTITY_NAME_RES_KEY = "entity_institution_name";
    public static String REPRESENTATIVE_ENTITY_NAME_RES_KEY = "entity_representative_name";
    public static String MEETING_ENTITY_NAME_RES_KEY = "entity_meeting_name";
    public static String ACTIONS_ENTITY_NAME_RES_KEY = "entity_actions_name";

   
    public static String getACTION_STATUS_FINISHED() {
        return ACTION_STATUS_FINISHED;
    }

    public static String getACTION_STATUS_PENDING() {
        return ACTION_STATUS_PENDING;
    }

    
}
